package com.xxgc.moriserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import org.dromara.autotable.annotation.ColumnComment;
import org.dromara.autotable.annotation.mysql.MysqlTypeConstant;
import org.dromara.mpe.autotable.annotation.ColumnId;
import org.dromara.mpe.autotable.annotation.Table;
import org.dromara.mpe.processer.annotation.AutoDefine;
import org.dromara.mpe.processer.annotation.AutoMapper;
import org.dromara.mpe.processer.annotation.AutoRepository;

@AutoDefine
@AutoMapper
@AutoRepository
@Data
@Table(value = "gameCharacter", comment = "角色表")
public class GameCharacterEntity {

    @ColumnComment("角色ID")
    @ColumnId(mode = IdType.AUTO, comment = "id主键", type = MysqlTypeConstant.BIGINT, length = 32)
    private String gameCharacterId;

    @ColumnComment("角色名")
    private String gameCharacterName;

    @ColumnComment("角色描述")
    private String gameCharacterDesc;

    @ColumnComment("角色头像")
    private String gameCharacterAvatar;

    //视频大厅视频地址
    @ColumnComment("视频大厅视频地址")
    private String gameCharacterVideoUrl;
}
